package speed2010.matcher.exceptions;

public class InvalidFieldException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5115884958538040391L;
	private String field;
	private EErrorType errorType;
	
	public InvalidFieldException(String field, EErrorType type)
	{
		this.field = field;
		this.errorType = type;
	}
	
	public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}
	public EErrorType getErrorType() {
		return errorType;
	}
	public void setErrorType(EErrorType errorType) {
		this.errorType = errorType;
	}
}
